<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <meta http-equiv="content-language" content="en" />
    <meta name="robots" content="all,follow" />
    <meta name="author" lang="en" content="All: web2py [www.web2py.com]" />
    <meta name="copyright" lang="en" content="All: web2py [www.web2py.com]" />
    <meta name="description" content="{{=response.description}}" />
    <meta name="keywords" content="{{=response.keywords}}" />
    
    <link rel="stylesheet" media="screen,projection" type="text/css" href="{{=URL(r=request,c='static',f='css/main.css')}}" />

    <title>{{=response.title or 'web2py example'}}</title>
{{include 'web2py_ajax.html'}}
</head>

<body class="yui-skin-sam">
    <div id="header_dimesion">
    <div id="header">
	<!--
        <div id="user">
             <ul>
                {{if session.authorized:}}
                    {{=A('logout',_href=URL(r=request,f='logout'))}}
                    {{=A('Post',_href=URL(r=request,f='post'))}}
                {{else:}}
                    <li>{{=A('register',_href=URL(r=request,f='register'))}}</li>
                    <li>{{=A('login',_href=URL(r=request,f='login'))}}</li>
            {{pass}}
            </ul>
        </div>-->
    </div>
    {{if response.menu:}}
<!--       <li><a href="http://www.truyennganhay.com">{{=response.title or 'web2py example'}}</a></li>-->
                <ul>
                <div id="user">
                {{if session.authorized:}}
				<!--	<a>{{="hi "}}{{=session.alias}}{{="..."}}</a>-->
                    <!--{{=A('logout',_href=URL(r=request,f='logout'))}}-->
                    <font style = "bold" size=4 >{{=A('Contribute',_href=URL(r=request,f='post'))}}</font>
                {{else:}}
                   {{=A('Contribute',_href=URL(r=request,f='login'))}}
             <!--       <li>{{=A('login',_href=URL(r=request,f='login'))}}</li>-->
            {{pass}}
                  <!--  {{=A('info',_href=URL(r=request,f='info'))}}-->
        
                </div>
   <div id="menu">
		<ul>
       {{for name,active,link in response.menu:}}
           <li><a href={{=link}}>{{=name}}</a></li>
        {{pass}}
                </ul>
    </div>
    {{pass}}

    </div>
<!--
	<div id="icon">
	<img src="/welcome/static/OldBook.gif" alt="Angry face" width="32" height="32" />
	</div>
-->

<div id="content_dimension">
    <div id="cols">
    <div class="main_box">
        <div id="content">
            {{if response.flash:}}<div id="flash">{{=response.flash}}</div>{{pass}}
            {{include}}
        </div>

    </div>
    </div>
</div>
<!--
<div id="footer">
    <div class="main">
        <p>&copy;&nbsp;2008 - Powered by  <a href="http://www.web2py.com">web2py</a></p>
    </div>
</div>
-->
</body>
</html>
